import sc from "./third.js";

const scc = sc;

console.log(scc.msg);


class XMLUtils{
    static createXMLHttpRequest(){
        let xmlHttp;
        if (window.XMLHttpRequest)
        {
            //  IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
            xmlHttp = new XMLHttpRequest();
        }
        else
        {
            // IE6, IE5 浏览器执行代码
            xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
            console.log("createXMLHttpRequest() 老式浏览器");
        }
        return xmlHttp;
    }
}


